package cn.wy.basic.mapper;

import cn.wy.basic.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {
    List<T> findAll();
    T findOne(Long id);
    void insert(T t);
    void delete(Long id);
    void update(T t);
    Integer queryCount(BaseQuery baseQuery);
    List<T> queryData(BaseQuery baseQuery);
    void patchDel(List<Long> ids);
}
